Learn R Programming

FuzzyNumbers (version 0.4-7)

^,PiecewiseLinearFuzzyNumber,numeric-method: Integer power of fuzzy number

Description

For fuzzy numbers the equality of X*X == X^2 does not hold.

Usage

# S4 method for PiecewiseLinearFuzzyNumber,numeric
^(e1, e2)

Arguments

e1

a PiecewiseLinearFuzzyNumber

e2

numeric (if it is not integer it will be converted by function as.integer())

Value

Returns a fuzzy number of the class '>PiecewiseLinearFuzzyNumber indicating e1^e2.

Details

This function calculates integer power of a PiecewiseLinearFuzzyNumber according to the reference below.

References

KAUFMANN, A., GUPTA, M. M. (1985) Introduction to Fuzzy Arithmetic. New York : Van Nostrand Reinhold Company. ISBN 044230079.

See Also

Other extension_principle: Arithmetic, fapply()

Other PiecewiseLinearFuzzyNumber-method: Arithmetic, Extract, PiecewiseLinearFuzzyNumber-class, PiecewiseLinearFuzzyNumber, alphaInterval(), arctan2(), as.PiecewiseLinearFuzzyNumber(), as.PowerFuzzyNumber(), as.TrapezoidalFuzzyNumber(), as.character(), expectedInterval(), fapply(), maximum(), minimum(), necessityExceedance(), necessityStrictExceedance(), necessityStrictUndervaluation(), necessityUndervaluation(), plot(), possibilityExceedance(), possibilityStrictExceedance(), possibilityStrictUndervaluation(), possibilityUndervaluation()

Examples

Run this code
# NOT RUN {
x = as.PiecewiseLinearFuzzyNumber(TriangularFuzzyNumber(-2, 1, 9), knot.n = 2)
x^2
x^3
# }

Run the code above in your browser using DataLab